import { defHttp } from '@/utils/http/axios'
import { GetAccountInfoModel } from '../demo/model/accountModel'

enum Api {
  GET_DATA_CORRECTION_LIST = '/getMeasureData',
  DATA_CORRECTION_RECORD_RUN = '/modifyMeasureData',
}

export const getDataCorrectionList = (params) =>
  defHttp.get<GetAccountInfoModel>({ url: Api.GET_DATA_CORRECTION_LIST, params })
export const dataCorrectionRecordRun = (data) =>
  defHttp.post<GetAccountInfoModel>({ url: Api.DATA_CORRECTION_RECORD_RUN, data })
